﻿public static class Constants {
	public const float CELL_LENGTH = 1.0f;
	public const float CELL_LENGTH_HALF = CELL_LENGTH * .5f;
	public const float POWER_SPEED = .5f;
	public const int FOOD_POINTS = 10;
	public const int MIN_FIELD = 6;
	public const int MAX_FIELD = 15;
	public const int MIN_SPEED = 2;
	public const int MAX_SPEED = 5;
	public const int MAX_STONES = 10;
	public const int MIN_APPLES = 1;
	public const int MAX_APPLES = 5;
	public const int MIN_BODY_LENGTH = 2;

	public class View {
		public const int ROTATION_SPEED = 60;
	}

	public static class Resources {
		public static class Prefabs {
			public const string PREFABS = "Prefabs/";

			public static class Camera {
				public const string CAMERA = PREFABS + "Camera/";
				public const string GAME_CAMERA = CAMERA + "GameCamera";
				public const string MAIN_CAMERA = CAMERA + "MainCamera";
			}

			public static class Elements {
				public const string ELEMENTS = PREFABS + "Elements/";
				public const string GREEN_APPLE = ELEMENTS + "GreenApple";
				public const string RED_APPLE = ELEMENTS + "RedApple";
				public const string STONE = ELEMENTS + "Stone";
				public const string FRAME = ELEMENTS + "Wall";
			}

			public static class GameBoard {
				public const string GAME_BOARD = PREFABS + "GameBoard/";
				public const string FIELD = GAME_BOARD + "Field";
				public const string GRID = GAME_BOARD + "Grid";
			}

			public static class Snake {
				public const string SNAKE = PREFABS + "Snake/";
				public const string HEAD = SNAKE + "Head";
				public const string TAIL = SNAKE + "Tail";
			}

			public static class Gui {
				public const string GUI = PREFABS + "GUI/";
				public const string MENU_PANEL = GUI + "UI MenuPanel";
				public const string OPTION_PANEL = GUI + "UI OptionPanel";
				public const string INFO_PANEL = GUI + "UI InfoPanel";
				public const string LOSS_LIFE_PANEL = GUI + "UI LossLifePanel";
				public const string GAME_OVER_PANEL = GUI + "UI GameOverPanel";
			}
		}

		public static class Textures {
			public const string TEXTURES = "Textures/";

			public static class Fields {
				public const string FIELDS = TEXTURES + "Fields/";
				public const string GRASS_1 = FIELDS + "Grass1";
				public const string GRASS_2 = FIELDS + "Grass2";
			}

			public static class Grids {
				public const string GRIDS = TEXTURES + "Grids/";
				public const string GRID_1 = GRIDS + "Grid1";
				public const string GRID_2 = GRIDS + "Grid2";
			}

			public static class Obstacles {
				public const string OBSTACLE = TEXTURES + "Obstacles/";
			}
		}
	}
}
